package com.yic.module.qms.convert.inspectinfo;

import java.util.*;

import com.yic.framework.common.pojo.PageResult;

import com.yic.module.qms.api.inspectinfo.dto.InspectInfoCreateReqDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.yic.module.qms.controller.admin.inspectinfo.vo.*;
import com.yic.module.qms.dal.dataobject.inspectinfo.InspectInfoDO;

/**
 * 检验单身 Convert
 *
 * @author 系统管理员
 */
@Mapper
public interface InspectInfoConvert {

    InspectInfoConvert INSTANCE = Mappers.getMapper(InspectInfoConvert.class);

    InspectInfoDO convert(InspectInfoCreateReqVO bean);

    InspectInfoDO convert(InspectInfoUpdateReqVO bean);

    InspectInfoRespVO convert(InspectInfoDO bean);

    List<InspectInfoRespVO> convertList(List<InspectInfoDO> list);

    PageResult<InspectInfoRespVO> convertPage(PageResult<InspectInfoDO> page);

    List<InspectInfoExcelVO> convertList02(List<InspectInfoDO> list);

    List<InspectInfoDO> convertList03(Collection<InspectInfoCreateReqVO> createReqVOS);

    List<InspectInfoCreateReqVO> convertList04(List<InspectInfoCreateReqDTO> entryList);
}
